<html>
	<head>
		<script type="text/php" src="include.php"></script>
		<script src="jquery-1.8.3.min.js"></script>
		<script src="functions.js"></script>
		<script src="menu.js"></script>
		
		<script>
		var fs = Ti.Filesystem.getApplicationDirectory();
		//alert(fs);
		generateKeys(fs);
	    waitForMsg(); /* Start the inital request */	
		</script>
		<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
		<title>Crypto Chat</title>
	
	</head>
	<body>
		Your Network ID:
		<script>
		waitForMessages();
		document.write(getUserName());
		sendMessage(fs,"getFriends");
		</script>
		<br />
		<div>
		  <h2>Partner List</h2>
		  <ul>
		    <li><a href="#">Zurich<img src="images/online.png" width="18" height="18" align="right"></img></a></li>
		    <li><a href="#">Geneva<img src="images/offline.png" width="18" height="18" align="right"></img></a></li>
		    <li><a href="#">Winterthur<img src="images/offline.png" width="18" height="18" align="right"></img></a></li>
		    <li><a href="#">Lausanne<img src="images/offline.png" width="18" height="18" align="right"></img></a></li>
		    <li><a href="#">Lucerne<img src="images/offline.png" width="18" height="18" align="right"></img></a></li>
		  </ul>
		</div>
	</body>
</html>
